package com.openlogic.datasource.api.dto;

import java.io.Serializable;
import java.util.Date;

import com.openlogic.datasource.api.param.ConnectionParam;

public class DataSourceDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	private String id;

	/**
	 * 启用状态
	 */
	private String status;

	/**
	 * 备注
	 */
	private String note;

	/**
	 * 数据库类型
	 */
	private String dbType;

	/**
	 * 大类
	 */
	private String category;

	/**
	 * 数据源名称
	 */
	private String name;

	/**
	 * 是否同步
	 */
	private String isSync;

	/**
	 * 数据库连接信息
	 */
	private ConnectionParam connectionParams;
	
	/**
     * excel上传路径
     */
    private String excelPath;
	
	 /**
     * create time
     */
    private Date createTime;
    
    /**
     * createBy
     */
    private String createBy;

    /**
     * update time
     */
    private Date updateTime;
    
    /**
     * Update By
     */
    private String updateBy;
    
    /**
     * 主机IP|域名
     */
    private String host;
    
    /**
     * 端口号
     */
    private Integer port;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIsSync() {
		return isSync;
	}

	public void setIsSync(String isSync) {
		this.isSync = isSync;
	}

	public ConnectionParam getConnectionParams() {
		return connectionParams;
	}

	public void setConnectionParams(ConnectionParam connectionParams) {
		this.connectionParams = connectionParams;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getExcelPath() {
		return excelPath;
	}

	public void setExcelPath(String excelPath) {
		this.excelPath = excelPath;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}
	
}
